package com.qiall.omsserver.service.enums;

public enum OmsStatusEnum {
    PULL(1, "拉取代码"),
    PACKAGE(2, "打包代码"),
    UPLOAD(3, "上传代码"),
    STOP(4, "停止服务"),
    CP(5, "拷贝jar包"),
    START(6, "重启服务"),
    START_SUCCESS(7, "重启成功");

    int code;
    String desc;

    OmsStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

  public int getCode() {
    return code;
  }

  public String getDesc() {
    return desc;
  }
}
